package com.app.base.tool;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
import android.view.Window;

/**
 * 作者：lblbh on 2017/4/25 16:53
 * 邮箱：lanbuhan@163.com
 * 功能：TODO
 */
public class BaseFragmentActivity extends FragmentActivity {
    public boolean mIsRunning;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        requestWindowFeature(Window.FEATURE_NO_TITLE);//隐藏标题
    }

    /**
     * 判断(字符窜)返回值是否存在
     * @param requestStr
     * @return
     */
    public boolean isRequestStr(String requestStr){
        return (requestStr!=null && requestStr.length()>0 && !requestStr.equals("[]"))?true:false;
    }
}
